package cloud.estate.commons.bean;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
public class Car implements Serializable {

    @TableId
    private String id;
    private String picture;
    private String ownerId;
    private String color;
    private String carNumber;
    private String remark;
    //创建时间数据库自动添加
    private String createTime;
    //更新时间更新后才有
    private String updateTime;
    //逻辑删除字段,0表示正常,1表示逻辑删除
    @TableLogic
    private String isDeal;
}
